package org.example.message.service;

import org.example.message.entity.Message;

import java.util.List;

public interface MessageService {

    List<Message> list(String from, String to);
    void addMessage(Message message);

    List<Message> getGroupMessage(String to);
}
